package com.prs.crm.dao.cqunicom.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.cqunicom.ServicesTypeDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.cqunicom.ServicesType;

/**
 * @author  WangTing
 *
 * 创建时间：2011-3-4 
 * 
 */
public class ServicesTypeDaoImpl extends BaseDaoImpl<ServicesType> implements ServicesTypeDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<ServicesType> getAllServicesType() {
		// TODO Auto-generated method stub
		Criteria criteria = this.getSession().createCriteria(ServicesType.class);
		return criteria.list();
	}

}
